x86: fix boot-time watchdog test.
authorTim Deegan <Tim.Deegan@citrix.com>
Tue, 28 Jun 2011 08:16:13 +0000 (09:16 +0100)
committerTim Deegan <Tim.Deegan@citrix.com>
Tue, 28 Jun 2011 08:16:13 +0000 (09:16 +0100)
commita56fe63c12a3c9e77995a3707d3165f817acd4af
treebed7f6a8736ce5e0712b0f1d189427f783b0e2a3
parent9a75615782f763326e1ad2a2aad4e8c9966755e3
x86: fix boot-time watchdog test.

Since the perf counter that the LAPIC NMI watchdog uses only
runs while the core isn't halted, and all APs are idle at
this point in the boot process, it's possible that remote
CPUs won't see any NMIs during the 10-tick waiting period.
Force all CPUs to busy-wait so we know the timers are running.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/nmi.c